package com.example.number1.ui.theme.util;

import java.util.List;

/**
 * 创建一个名为 Message 的模型类，用于存储消息的发送者和内容
 */
public class Message {
    String time;
    private String sender;
    private String content;
    private int showdate=2;  //1表示显示，2表示隐藏

    public Message(String sender, String content,String time,int showdate) {
        this.sender = sender;
        this.content = content;
        this.time = time;
        this.showdate = showdate;
    }



    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getShowdate() {
        return showdate;
    }
}
